package com.hyt.it.ogt.ykcj.domain.zs.vo;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.hyt.it.ogt.ykcj.common.annotation.zs.TemplateMapper;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.List;
import java.util.Map;

/**
 * @program: it-ogt-ykcj
 * @description:
 * @author: Yang HuanKun
 * @create: 2022-06-29 14:33
 **/
@Data
@Accessors(chain = true)
@Builder
@ApiModel(value = "导入证书人员数据VO", description = "导入证书人员数据VO")
public class ImportCertificateExamineesVO {

    @TemplateMapper(templateCode = "NAME")
    @ApiModelProperty(value = "考生姓名")
    private String examineesName;

    @TemplateMapper(templateCode = "SEX")
    @ApiModelProperty(value = "考生性别")
    private String examineesSex;

    @TemplateMapper(templateCode = "ID_TYPE")
    @ApiModelProperty(value = "证件类型：0-身份证")
    private String identificationType;

    @TemplateMapper(templateCode = "ID_NO")
    @ApiModelProperty(value = "证件号码")
    private String identificationNo;

    @TemplateMapper(templateCode = "CERTIFICATE_NO")
    @ApiModelProperty(value = "证书编号")
    private String certificateSerialNumber;

    @ApiModelProperty(value = "校验状态 true异常  false无异常")
    private Boolean validStatus;

    @ApiModelProperty(value = "数据校验结果")
    private List<String> validMessage;

    @JsonIgnore
    @ApiModelProperty(value = "数据校验结果code码")
    private List<Integer> errorCodes;

    @JsonIgnore
    @ApiModelProperty(value = "证书导入数据")
    private Map<String, String> certificateExaminees;
}
